package com.group.admin.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.group.common.utils.PageUtils;
import com.group.common.utils.Query;

import com.group.admin.dao.ShopStockTaskDao;
import com.group.admin.entity.ShopStockTaskEntity;
import com.group.admin.service.ShopStockTaskService;


@Service("shopStockTaskService")
public class ShopStockTaskServiceImpl extends ServiceImpl<ShopStockTaskDao, ShopStockTaskEntity> implements ShopStockTaskService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ShopStockTaskEntity> page = this.page(
                new Query<ShopStockTaskEntity>().getPage(params),
                new QueryWrapper<ShopStockTaskEntity>()
        );

        return new PageUtils(page);
    }

}